#ifndef MYTANK_H
#define MYTANK_H
#include"tank.h"
#include<QKeyEvent>
class mytank:public tank
{Q_OBJECT
public:
    bool moveflag=false;
    int reborn=0;//复活
    bool life=true;
    int is_touch();
    void playerupdate();
    const QString pic[4]
    {":/:/new/wall/image/tanks/mytank.qian.png",
        ":/:/new/wall/image/tanks/mytank.hou.png",
        ":/:/new/wall/image/tanks/mytank.left.png",
        ":/:/new/wall/image/tanks/mytank.right.png"

    };



};

#endif
